<%--
  Created by IntelliJ IDEA.
  User: 吕旺平
  Date: 2019/12/3
  Time: 23:32
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://fentsoul.com" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
	<title>详情</title>
	<c:import url="/layout/_imports.jsp"></c:import>
	<script>
        $(function() {
            $('.flexslider').flexslider({
                animation: "slide",
                controlNav: "thumbnails"
            });
        });
	</script>
</head>
<body>
<c:import url="/layout/_nav.jsp"></c:import>

<!--//single-page-->
<div class="single">
	<div class="container">
		<div class="single-grids">
			<div class="col-md-4 single-grid">
				<div class="flexslider">

					<ul class="slides">
						<li data-thumb="${Model.goods.cover}">
							<div class="thumb-image"> <img src="${Model.goods.cover}" data-imagezoom="true" class="img-responsive"> </div>
						</li>
						<li data-thumb="${Model.goods.image1}">
							<div class="thumb-image"> <img src="${Model.goods.image1}" data-imagezoom="true" class="img-responsive"> </div>
						</li>
						<li data-thumb="${Model.goods.image2}">
							<div class="thumb-image"> <img src="${Model.goods.image2}" data-imagezoom="true" class="img-responsive"> </div>
						</li>
					</ul>
				</div>
			</div>
			<div class="col-md-4 single-grid simpleCart_shelfItem">
				<h3>${Model.goods.name}</h3>
				<div class="tag">
					<p>分类 : <a href="/goods/classify?type=${Model.goods.typeId}&page=0&size=12">${Model.typeName}</a></p>
				</div>
				<p>介绍: ${Model.goods.intro}</p>
				<div class="galry">
					<div class="prices">
						<h5 class="item_price">¥ ${Model.goods.price}</h5>
					</div>
					<div class="clearfix"></div>
				</div>
				<div class="btn_form">
					<a href="javascript:;" class="add-cart item_add" onclick="buy(${Model.goods.id})">加入购物车</a>
				</div>
			</div>
			<div class="col-md-4 single-grid1">
				<!-- <h2>商品分类</h2> -->
				<ul>

					<c:forEach items="${types}" var="t">
						<li>
							<a class="list" href="/goods/classify?type=${t.id}&page=0&size=12">${t.name}</a>
						</li>
					</c:forEach>

				</ul>
			</div>
			<div class="clearfix"> </div>
		</div>
	</div>
</div>

<!--related-products--><!--
	<div class="related-products">
		<div class="container">
			<h3>猜你喜欢</h3>
			<div class="product-model-sec single-product-grids">
				<div class="product-grid single-product">
					<a href="single.html">
					<div class="more-product"><span> </span></div>
					<div class="product-img b-link-stripe b-animate-go  thickbox">
						<img src="images/m1.png" class="img-responsive" alt="">
						<div class="b-wrapper">
						<h4 class="b-animate b-from-left  b-delay03">
						<button>View</button>
						</h4>
						</div>
					</div>
					</a>
					<div class="product-info simpleCart_shelfItem">
						<div class="product-info-cust prt_name">
							<h4>Product #1</h4>
							<span class="item_price">$2000</span>
							<div class="ofr">
							  <p class="pric1"><del>$2300</del></p>
							  <p class="disc">[15% Off]</p>
							</div>
							<div class="clearfix"> </div>
						</div>
					</div>
				</div>
				<div class="clearfix"> </div>
			</div>
		</div>
	</div>
 -->	<!--related-products-->


<c:import url="/layout/_footer.jsp"></c:import>
</body>
</html>
